export default tokenOut => {
    var token = JSON.parse(localStorage.getItem("CJia520のAdminUser")).token.split(
        "."
    )[1];
    var token = JSON.parse(atob(token)).exp;
    // 获取当前10位时间戳
    var timer = Date.parse(new Date()).toString();
    timer = timer.substring(0, 10);

    return timer >= token;
};